<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>登录 - 氿上网</title>
<link type="text/css" rel="stylesheet" href="<?php echo $this->_var['css_path']; ?>/global.css" />
<link type="text/css" rel="stylesheet" href="<?php echo $this->_var['css_path']; ?>/style.css" />
</head>
<body>
 
<?php echo $this->fetch('top.html'); ?>
<?php echo $this->fetch('header.html'); ?> 

<div id="main">
  <div class="user_login_reight">
    <div class="main_login_left left"> <a href="<?php echo $this->_var['site_url']; ?>user/register"><img src="<?php echo $this->_var['images_path']; ?>/login_logo.png" /></a> <?php echo $this->fetch('message.html'); ?>
      <form  id="login_form" action="<?php echo $this->_var['site_url']; ?>user/login" method="post" style="float:left; width:620px;">
        <input type="hidden" name="redirect" value="<?php echo $this->_var['redirect']; ?>">
        <table>
          <tr>
            <td>用 户 名：</td>
            <td><input type="text"  name="username" class="text"/></td>
          </tr>
          <tr>
            <td>密 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;码：</td>
            <td><input type="password"  name="password" class="text"//></td>
          </tr>
          <tr>
            <td></td>
            <td><input type="checkbox" name="remember" />
              记住登录名，下次免登录  &nbsp;&nbsp;</td>
          </tr>
        </table>
        <input type="submit"  class="btnzc" value="登 录"/>
      </form>
    </div>
    <div class="main_login_right right">
      <div class="righttop">
        <p>还没有账号?</p>
        <a href="<?php echo $this->_var['site_url']; ?>user/register">注 册</a> </div>
      <div class="rightmain">
        <p>我的商城</p>
        <a href="">商城活动</a> <a href="">分类</a> <a href="">积分</a> <a href="">最新活动</a> </div>
      <div class="rightmain">
        <p>我的知道</p>
        <a href="">提问难题</a> <a href="">分类</a> <a href="">积分</a> <a href="">回答</a> </div>
      <div class="rightmain">
        <p>我的需求</p>
        <a href="">商城活动</a> <a href="">分类</a> <a href="">积分</a> <a href="">最新活动</a> </div>
    </div>
    <div class="clear"></div>
  </div>
</div>
<div class="clear"></div>
<script type="text/javascript" src="<?php echo $this->_var['js_path']; ?>/message.js"></script> 
<script type="text/javascript" src="<?php echo $this->_var['js_path']; ?>/jquery.validate.js"></script> 
<script type="text/javascript">
	$(function(){
		$("#login_form").validate({
			rules: {
				username: 'required',
				password: 'required'
			},
			messages: {
				username:"*用户名不能为空!" ,
				password: "*密码不能为空!" 
			}
		});
	})
   
</script> 
 
<?php echo $this->fetch('footer.html'); ?>
</body>
</html>
